import pandas as pd
import numpy as np

class read_excel(object):
    def __init__(self, file_path=''):
        self.__data = pd.read_excel(file_path, engine='openpyxl')

    def pdarray(self):
        return self.__data

    def nparray(self):
        array_head = [np.array(self.__data.columns.tolist())]
        array_data = np.array(self.__data)
        return np.concatenate((array_head, array_data))